import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';

import { AppComponent } from './app.component';
import { HightlightDirective } from './hightlight.directive';
import { FormComponent } from './form/form.component';
import { ForbiddenValidatorDirective } from './share/forbidden-name.directive';

@NgModule({
  declarations: [
    AppComponent,  
    HightlightDirective,    
    FormComponent, ForbiddenValidatorDirective
  ],
  imports: [
    BrowserModule,
    FormsModule,
    ReactiveFormsModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }
